package com.example.mapper;

import com.example.entity.Question;
import com.example.entity.Test;

import java.util.List;

public interface QuestionMapper {

    List<Question> get_choice(Test test) ;

    void create_quest(Question question);

    List<Question> get_fill(Test test);

    List<Question> get_deal(Test test);

    void update_answer(Question question);

    void update_correct(Question question);

    List<Question> get_choice_all(Test test);

    List<Question> get_fill_all(Test test);

    List<Question> get_deal_all(Test test);

    List<Question> get_questions(Test test);

    void delete(Test test);
}
